<%--
  Created by IntelliJ IDEA.
  User: diaominyh
  Date: 2022/3/31
  Time: 23:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看工作笔记</title>
    <script src="jquery/jquery-1.8.3.min.js"></script>
</head>
<body>
<div align="center">
    <div style="display: inline-block;border: 3px solid black;width: 300px">
        <p>我的工作笔记</p>
        <table>
            <tr>
                <td>标题：</td>
                <td>${working.title}</td>
            </tr>
            <tr>
                <td>内容：</td>
                <td>${working.content}</td>
            </tr>
            <tr>
                <td>类别：</td>
                <td>
                    <c:choose>
                        <c:when test="${working.type==1}">
                            技术
                        </c:when>
                        <c:when test="${working.type==2}">
                            行政
                        </c:when>
                        <c:when test="${working.type==3}">
                            人事
                        </c:when>
                    </c:choose>
                </td>
            </tr>
            <tr>
                <td>日期：</td>
                <td>${working.createDate}</td>
            </tr>
        </table>
        <input type="button" value="返回" id="btn">
    </div>
</div>
<script type="text/javascript">
    $("#btn").click(function () {
        history.back();
    })
</script>
</body>
</html>
